import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'home',
    component: import('@/views/layout/LayoutBox.vue'),
    children: [
      {
        path: '/navone',
        component: import('@/views/Navone/IndexPage.vue')
      },
      {
        path: '/WorkPage',
        component: import('@/views/Navone/WorkPage.vue')
      },
      {
        path: '/InformationPage',
        component: import('@/views/from/InformationPage.vue')
      },
      {
        path: '/TextPage',
        component: import('@/views/from/TextPage.vue')
      },
      {
        path: '/ResetPage',
        component: import('@/views/user/ResetPage.vue')
      },
      {
        path: '/AboutPage',
        component: import('@/views/about/AboutPage.vue')
      }
    ]
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
